package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsCategory;
import com.qf.vo.CatVo;

import java.util.List;

/**
 * @author wanghaotian
 * time:2022/12/21,0021 9:20
 * description:
 */

public interface DtsCategoryService {
    Integer findL1ByL2(Integer categoryIdL2);

    List<CatVo> findCategoryList();

    IPage<DtsCategory> findPage(Integer page, Integer limit, String id, String name, String sort, String order);

    List<CatVo> findL1List();

    DtsCategory insert(DtsCategory category);

    void update(DtsCategory category);

    void delete(DtsCategory category);
}
